﻿using System;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;
namespace AnyOffice.general.system.menu
{
    public partial class delete : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["menu_id"] != null)
            {
                string menuId = Request.QueryString["menu_id"].ToString();
                new SysMenuDao().Delete(base.Conn, menuId);
                base.CloseConn();
                this.litMessage.Text = base.ShowMessage("菜单已删除！") + "<script>parent.menu_list.location.reload();</script>";
            }
        } 

    }
}
